package com.entrogy.dao;

import com.entrogy.bean.AttendancePeople;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/** 考勤人员dao接口
 * @Author 许红松
 * @date 2019/5/10 0010 下午 3:06
 */
public interface AttendancePeopleMapper {
    /**
     *  批量新增
     * @param list
     * @return
     */
    public  int  addAttendancePeople(List<AttendancePeople> list);
    /**
     *  批量修改
     * @param list
     * @return
     */
    public  int  updateAttendancePeople(List<AttendancePeople> list);
    /**
     *  批量修改
     * @param attendance_Id
     * @return
     */
    public  int  deleteAttendancePeople(@Param(value="attendance_Id") String attendance_Id);

    /**
     *  获取信息
     * @return
     */
    public  List<AttendancePeople>  getAttendancePeopleList(Map<String,Object> map);

    /**
     *  获取用户集合
     * @return
     */
    public  List<String>  getPeopleList(Map<String,Object> map);

}
